package com.itheima.reggie.service;

import com.itheima.reggie.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    ShoppingCart addCart(ShoppingCart shoppingCart);

    List<ShoppingCart> findAllByUserId(Long UserId);

    //清空购物车
    void clean(Long userId);
}
